//
//  WBPicCollectionCell.m
//  sinaWeibo
//
//  Created by 李江波 on 2016/11/17.
//  Copyright © 2016年 lijiangbo. All rights reserved.
//

#import "WBPicCollectionCell.h"

@interface WBPicCollectionCell ()


@property (weak, nonatomic) IBOutlet UIImageView *isGif;
@end

@implementation WBPicCollectionCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

-(void)setThumbnail_pic:(NSString *)thumbnail_pic{

    _thumbnail_pic = thumbnail_pic;
    
    [self.picture sd_setImageWithURL:[NSURL URLWithString:thumbnail_pic]];
    
    self.isGif.hidden = ![thumbnail_pic hasSuffix:@".gif"];
    
}

@end
